package com.quickcancellation.crm.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.annotations.Delete;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-02-04
 */
@TableName("pd_t_product")
//@ApiModel(value = "Product对象", description = "")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    //@ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    //@ApiModelProperty("产品编码")
    private String productCode;

    //@ApiModelProperty("产品名称")
    private String productName;

    //@ApiModelProperty("品牌id")
    private String brandId;

    //@ApiModelProperty("分销单位")
    private String batchUnit;

    //@ApiModelProperty("单品单位")
    private String singleUnit;

    //@ApiModelProperty("标项系数")
    private Integer batchCount;

    //@ApiModelProperty("默认标箱价")
    private BigDecimal price;

    //@ApiModelProperty("品规")
    private String productItem;

    //@ApiModelProperty("状态 1-启用 0-停用")
    //@TableLogic(value = "1")
    private Integer status;

    //@ApiModelProperty("备注")
    private String remark;

    //@ApiModelProperty("创建人")
    private String createOp;

    //@ApiModelProperty("创建时间")
    private String createTime;

    //@ApiModelProperty("更新人")
    private String updateOp;

    //@ApiModelProperty("更新时间")
    private String updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
    public String getBrandId() {
        return brandId;
    }

    public void setBrandId(String brandId) {
        this.brandId = brandId;
    }
    public String getBatchUnit() {
        return batchUnit;
    }

    public void setBatchUnit(String batchUnit) {
        this.batchUnit = batchUnit;
    }
    public String getSingleUnit() {
        return singleUnit;
    }

    public void setSingleUnit(String singleUnit) {
        this.singleUnit = singleUnit;
    }
    public Integer getBatchCount() {
        return batchCount;
    }

    public void setBatchCount(Integer batchCount) {
        this.batchCount = batchCount;
    }
    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    public String getProductItem() {
        return productItem;
    }

    public void setProductItem(String productItem) {
        this.productItem = productItem;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getCreateOp() {
        return createOp;
    }

    public void setCreateOp(String createOp) {
        this.createOp = createOp;
    }
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getUpdateOp() {
        return updateOp;
    }

    public void setUpdateOp(String updateOp) {
        this.updateOp = updateOp;
    }
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Product{" +
            "id=" + id +
            ", productCode=" + productCode +
            ", productName=" + productName +
            ", brandId=" + brandId +
            ", batchUnit=" + batchUnit +
            ", singleUnit=" + singleUnit +
            ", batchCount=" + batchCount +
            ", price=" + price +
            ", productItem=" + productItem +
            ", status=" + status +
            ", remark=" + remark +
            ", createOp=" + createOp +
            ", createTime=" + createTime +
            ", updateOp=" + updateOp +
            ", updateTime=" + updateTime +
        "}";
    }
}
